package com.dgd.test.demo.mapper;

import com.dgd.test.demo.bean.TeacheBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: 726
 * @description:
 * @author: Jaime
 * @create: 2021-07-28 23:25
 **/
@Mapper
public interface EduTeacherMapper {

    /**
     * 添加讲师
     * @param teacher
     * @return
     */
    int addTeacher(TeacheBean teacher) ;

    TeacheBean findTeacherById(Integer teacherId);

    int deleteTeacher(@Param("ids") List<Integer> ids);

    int updateTeacher(TeacheBean teacher);
}
